This document describes the replication files associated with the paper:
Taka-aki Asano, Tomoki Kaneko, Shoko Omori, Shusuke Takamiya, and Masaki Taniguchi. 2021. "Predictable Crises Shape Public Opinion: Evidence from the COVID-19 Natural Experiment." Journal of Elections, Public Opinion and Parties, Vol.31, Sup.1, pp.311-320.

The following files are contained herein:
Natural_Experiment_Issue_Attention.R (R code to replicate Figure 2)
Natural_Experiment_Issue_Position.R (R code to replicate Figure 3)

Instructions:
Put all the files in your working directory.
The survey data can be downloaded from the following URL.
http://www.masaki.j.u-tokyo.ac.jp/utas/utasindex_en.html

All data analyses using these replication files were carried out using R version 3.6.2 as well as the following R packages:  readr version 1.3.1, dplyr version 0.8.3, tidyr version 1.0.0, ggplot2 version 3.3.0, nnet version 7.3.12, and effects version 4.1.4.

If you have any questions or concerns with the files, please feel free to contact the authors.
